package dnavsim.bed;

public class BEDFeature {

	private String chrom;
	private int chromStart;
	private int chromEnd;
	private String name;
	private String score;
	private String strand;
	private String thickStart;
	private String thickEnd;
	private String blockCount;
	private String blockSizes;
	private String blockStarts;

	public BEDFeature(String chrom, String chromStart, String chromEnd,
			String name, String score, String strand, String thickStart,
			String thickEnd, String blockCount, String blockSizes,
			String blockStarts) {
		this.chrom = chrom;
		this.chromStart = Integer.parseInt(chromStart);
		this.chromEnd = Integer.parseInt(chromEnd);
		this.name = name;
		this.score = score;
		this.strand = strand;
		this.thickStart = thickStart;
		this.thickEnd = thickEnd;
		this.blockCount = blockCount;
		this.blockSizes = blockSizes;
		this.blockStarts = blockStarts;
	}

	/**
	 * @return the chrom
	 */
	public String getChrom() {
		return chrom;
	}

	/**
	 * @return the chromStart
	 */
	public int getChromStart() {
		return chromStart;
	}

	/**
	 * @return the chromEnd
	 */
	public int getChromEnd() {
		return chromEnd;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the score
	 */
	public String getScore() {
		return score;
	}

	/**
	 * @return the strand
	 */
	public String getStrand() {
		return strand;
	}

	/**
	 * @return the thickStart
	 */
	public String getThickStart() {
		return thickStart;
	}

	/**
	 * @return the thickEnd
	 */
	public String getThickEnd() {
		return thickEnd;
	}

	/**
	 * @return the blockCount
	 */
	public String getBlockCount() {
		return blockCount;
	}

	/**
	 * @return the blockSizes
	 */
	public String getBlockSizes() {
		return blockSizes;
	}

	/**
	 * @return the blockStarts
	 */
	public String getBlockStarts() {
		return blockStarts;
	}
	
	public String toString() {
		return chrom + "\t" + chromStart + "\t" + chromEnd;
	}
}
